package com.homedo.odin.solution.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.homedo.odin.solution.model.entity.UserSafe;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * <p> Mapper接口 </p>
 *
 * @author ZhangLei
 * @date 2018-05-22
 * @Description:
 */
public interface UserSafeMapper extends BaseMapper<UserSafe> {

    void deleteUserSafe(@Param("ids") String ids, @Param("biz_code") String biz_code);

    List<UserSafe> userSafeList(@Param("biz_code") String biz_code, @Param("source") Integer source,
            @Param("status") Integer state, @Param("usernameOrMobile") String usernameOrMobile);

    List<UserSafe> selectListByUserNameOrMobile(@Param("biz_code") String biz_code, @Param("status") Integer status,
            @Param("userName") String userName, @Param("mobile") String mobile);


    List<UserSafe> selectListByUserSafe(@Param("userSafe") UserSafe queryUserSafe);
}